package org.study;

public class DemoBreak {


    public static void main(String[] args) {

        Loop:
          for (int index = 0; index < 5; index++) {
              if (index == 2) {
                  break Loop;
              }
              System.out.println(index);
          }
        System.out.println("yes");
    }
}
